package com.example.climbtest;

import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;

public class CustomViewPager extends ViewPager {

    public CustomViewPager(Context context) {
        super(context);
    }

    public CustomViewPager(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    protected boolean canScroll(View v, boolean checkV, int dx, int x, int y) {
        //if(v.getClass().getName().equals("maps.j.b")){
    	Log.d("CUSTOMVIEW",v.getClass().getName() );
    	if(v.getClass().getName().equals("maps.i.b")){
            return true;
        }
        return super.canScroll(v, checkV, dx, x, y);
    }

}